-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kibana 6.4.x upgrade #28
Conversation
Hi @gmatheus |
@tcharlot-datasweet That's right. This is mainly because Elastic team updated the plugin development scripts since Kibana They also removed some Angular services and changed some classes from Kibana source code, so we had to refactor some imports (just as you did in the first commit of this PR). In the long term, this can generate a lot of conditional-versioning logic in the code. If you organize plugin releases versions as I mentioned above, sometimes you can backport a feature or bugfix through versions. Example:
This applies the bugfix commit from If your team depends directly on previous versions of Kibana, you can do the opposite: set the |
Hi @gmatheus |
Ok 👍 |
Just realized this is not a plugin-related bug (see this issue), so I guess we're ready merge this PR! |
@tcharlot-datasweet , do you plan to merge this PR and release it soon? We migrated Kibana to 6.4 and datasweet plugin is not working now. It would be very helpful if this fix releases. Thanks in advance and great work! |
We installed the latest update and it works now. Really appreciate it! |
Upgrading Datasweet Formula for Kibana
6.4.x
.Closes #26
Main changes:
Private
injector changed in some module imports (see Plugin API Changes in 6.4)applyColumnGroups
params changedTo run the project using the scripts provided by Kibana Plugin Generator, you should place this plugin inside
../kibana-extra
folder, then runyarn kbn bootstrap
andyarn start
.Since this is a big change in project structure, I suggest you to organize plugin releases versions by Kibana versions (just as I did in my plugin). E.g.: Datasweet Formula's
v1.1.1
plugin works for Kibana versions from5.6.x
to6.3.x
, versionv1.2.0
works for Kibana6.4.x
. What do you think, @tcharlot-datasweet?